

            <div style="margin-left: 7px; width: 100%">
                <?php
             
                
                $css = "bgtopic340";
                $dem = null;
                if (!empty($category)) {
                    $dem = $category->catename;

                    if (strlen($dem) >= 60) {
                        $css = "bgtopic600";
                    } else if (strlen($dem) >= 39) {
                        $css = "bgtopic500";
                    }
                }
         
                ?>


                <div class="bgtopic340">
                    <div class="topic_title">
                        <?php 
                            if(isset($result)){
                                echo $result;
                            }
                        ?>
                    </div>
                </div>


                <?php
                require_once(Yii::getPathOfAlias('webroot').'/protected/views/layouts/convertvn.php'); 
               
                if (!empty($produc)) {
                    ?>
                    <ul id="itemContainer0" style="list-style-type: none; margin-left: -40px">
                        <?php
                        foreach ($produc as $item) {
                            ?>
                            <li>
                                <div style="float: left;width: 135px; height: 135px">
                                    <a href="<?php echo Yii::app()->request->baseUrl.'/luat-su/'.$item['id'] .'/'.  cv2urltitle($item['hovaten'])?>" title="<?php echo $item['hovaten'] ?>">
                                        <img src="<?php echo Yii::app()->request->baseUrl.'/upload/avata/'.$item['logo']; ?>" width="120px" height="120px"></a>
                                </div>
                                <div>
                                    <div>
                                        <b>Luật sư:</b> <a href="<?php echo Yii::app()->request->baseUrl.'/luat-su/'.$item['id'].'/'.  cv2urltitle($item['hovaten']) ?>"><b style="color: #024080"><?php echo $item['hovaten'] ?></b></a>
                                    </div>
                                    <div>
                                        <b>Điạ chỉ:</b> <?php echo $item['diachi'] ?>
                                    </div>
                                    <div>
                                        <b>Điện thoại:</b> <?php echo $item['phone'] ?>
                                    </div>
                                    <div>
                                        <b>Thẻ luật sư số:</b> <b style="color: #8a1f11"> <?php echo $item['theluatsu'] ?></b>
                                    </div>
                                    <div>
                                        <b>Chứng chỉ ngành nghề số:</b> <b style="color: #8a1f11"><?php echo $item['chungchihanhnghe'] ?></b>
                                    </div>
                                    <div>
                                        <b>Đoàn luật sư:</b> <?php echo $item['name'] ?>
                                    </div>
                                    <div>
                                        <b>Tổ chức hành nghề:</b> <b style="color: #024080"><?php echo $item['tencongty'] ?></b>
                                    </div>
                                    <div>
                                        <b>Website: </b> 
                                        <?php 
                                            if (!empty($item['website'])) {
                                            $str=trim($item['website']);
                                            $w = substr($str,0,7);
                                            
                                            if($w=='http://' || $w=='http:/' || $w=='http:' || $w=='http')
                                            {
                                                $str2 = substr($str,7);
                                            }  else {
                                                $str2 = $str;
                                            }
                                            
                                            echo '<a style="text-decoration: none" href="http://'. $str2.' " target="_blank" title="'.$item['tencongty'].'">'. $str2.'</a>' ;
                                        }
                                        ?>
                                        
                                    </div>
                                </div>
                                <div class="clear"></div>
                                <div style="width: 100%; height: 10px"></div>
                            </li>
                            <?php
                        }
                        ?>
                    </ul>
                    <?php
                }
                ?>

                <div class="clear"></div>
                <div class="holder0"></div>


                <div class="clear"></div>



            </div>
       <div class="clear"></div>

</div>
<div class="clear"></div>


<div class="clear"></div>
</div>

<div class="clear"></div>
</div>
</div>


